<?php

namespace App\Services;

use App\Common\Libs\Json;
use App\Consts\GlobalUploadConst;

/**
 * @package App\Services
 * @see IndustryService
 */
class IndustryService extends BaseService
{
    private $_repository;

    public function __construct()
    {
        parent::__construct();
        $this->_repository = repository()->IndustryRepository;
    }

    public function getList()
    {
        return Json::decode(\App\Common\Libs\Ali\Oss::getInstance(GlobalUploadConst::OBJECT_USER)
            ->getObject('industry.json'), true);
    }
}
